package com.ruoyi.eservice.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 病例详情对象 einfo_cases
 *
 * @author fancheng
 * @date 2022-11-10
 */
@TableName(value = "einfo_cases")
public class Cases extends BaseEntity
{
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /** 疫情数据id */
    /**
     * IdType.AUTO          数据库ID自增
     * IdType.INPUT         用户输入ID
     * IdType.ASSIGN_ID     全局唯一ID，内容为空自动填充（雪花算法）
     * IdType.ASSIGN_UUID   全局唯一ID，内容为空自动填充
     */
    @TableId(type = IdType.AUTO)
    private Long casesId;

    /** 地区id */
    @Excel(name = "地区id")
    private Long dictId;

    /** 所在区域总患者数量 */
    @Excel(name = "所在区域总患者数量")
    private Long cases;

    /** 所在区域患者治愈数量 */
    @Excel(name = "所在区域患者治愈数量")
    private Long cures;

    /** 所在区域患者死亡数量 */
    @Excel(name = "所在区域患者死亡数量")
    private Long death;

    /** 所在区域患者新增数量 */
    @Excel(name = "所在区域患者新增数量")
    private Long added;

    /** 风险区标志 1为低风险2为中风险3为高风险 */
    @Excel(name = "风险区标志 1为低风险2为中风险3为高风险")
    private Long status;

    public void setCasesId(Long casesId)
    {
        this.casesId = casesId;
    }

    public Long getCasesId()
    {
        return casesId;
    }
    public void setDictId(Long dictId)
    {
        this.dictId = dictId;
    }

    public Long getDictId()
    {
        return dictId;
    }
    public void setCases(Long cases)
    {
        this.cases = cases;
    }

    public Long getCases()
    {
        return cases;
    }
    public void setCures(Long cures)
    {
        this.cures = cures;
    }

    public Long getCures()
    {
        return cures;
    }
    public void setDeath(Long death)
    {
        this.death = death;
    }

    public Long getDeath()
    {
        return death;
    }
    public void setAdded(Long added)
    {
        this.added = added;
    }

    public Long getAdded()
    {
        return added;
    }
    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("casesId", getCasesId())
            .append("dictId", getDictId())
            .append("cases", getCases())
            .append("cures", getCures())
            .append("death", getDeath())
            .append("added", getAdded())
            .append("delFlag", getDelFlag())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
